package com.dyp.parent.autoconfigure;

import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(prefix = "greeting")
public class GreetingProperties {
    private String prefix = "Hello";
    private String suffix = "!";

    // getters and setters
    public String getPrefix() { return prefix; }
    public void setPrefix(String prefix) { this.prefix  = prefix; }

    public String getSuffix() { return suffix; }
    public void setSuffix(String suffix) { this.suffix  = suffix; }
}